<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">

<head th:include="include :: header"></head>
<link rel="stylesheet" th:href="@{/css/index.css}" media="all" />
<body class="main_body">
<div class="layui-layout layui-layout-admin">
    <!-- 顶部 -->
    <div class="layui-header header">
        <div class="layui-main mag0">
            <a href="#" class="logo">后台管理系统</a>
            <!-- 显示/隐藏菜单 -->
            <a href="javascript:;" class="seraph hideMenu icon-caidan"></a>
            <!--  <a href="#"><i class="layui-icon layui-icon-shrink-right" style=" float: left; font-size:20px; color: #f0f0f0;"></i></a>-->
            <!-- 顶级菜单 -->
                <!--适配移动端-->
            <ul class="layui-nav mobileTopLevelMenus" mobile>
                <li class="layui-nav-item" data-menu="directoryNavigation">
                    <a href="javascript:;"><i class="seraph icon-caidan"></i><cite style="font-size: 15px;">目录导航</cite></a>
                   <dl class="layui-nav-child">
                        <dd th:each="topDirectory : ${topDirectoryList}" th:attr="data-menu=${topDirectory.menuId}">
                            <a href="javascript:;"><cite th:text="${topDirectory.menuName}"></cite></a>
                        </dd>
                    </dl>
                    <dl class="layui-nav-child">
                        <dd class="layui-this" data-menu="contentManagement"><a href="javascript:;"><i class="layui-icon" data-icon="&#xe63c;">&#xe63c;</i><cite>内容管理</cite></a></dd>
                        <dd data-menu="memberCenter"><a href="javascript:;"><i class="seraph icon-icon10" data-icon="icon-icon10"></i><cite>用户中心</cite></a></dd>
                        <dd data-menu="systemeSttings"><a href="javascript:;"><i class="layui-icon" data-icon="&#xe620;">&#xe620;</i><cite>系统设置</cite></a></dd>
                        <dd data-menu="seraphApi"><a href="javascript:;"><i class="layui-icon" data-icon="&#xe705;">&#xe705;</i><cite>使用文档</cite></a></dd>
                    </dl>
                </li>
            </ul>
            <!--适配PC端-->
            <ul class="layui-nav topLevelMenus" pc>
                <li class="layui-nav-item" th:each="topDirectory : ${topDirectoryList}" th:attr="data-menu=${topDirectory.menuId}" pc>
                    <a href="javascript:;"><cite th:text="${topDirectory.menuName}"></cite></a>
                </li>
                <!--<li class="layui-nav-item layui-this" data-menu="contentManagement">
                    <a href="javascript:;"><i class="layui-icon" data-icon="&#xe63c;">&#xe63c;</i><cite>内容管理</cite></a>
                </li>
                <li class="layui-nav-item" data-menu="memberCenter" pc>
                    <a href="javascript:;"><i class="seraph icon-icon10" data-icon="icon-icon10"></i><cite>用户中心</cite></a>
                </li>
                <li class="layui-nav-item" data-menu="systemeSttings" pc>
                    <a href="javascript:;"><i class="layui-icon" data-icon="&#xe620;">&#xe620;</i><cite>系统设置</cite></a>
                </li>
                <li class="layui-nav-item" data-menu="seraphApi" pc>
                    <a href="javascript:;"><i class="layui-icon" data-icon="&#xe705;">&#xe705;</i><cite>使用文档</cite></a>
                </li>-->
            </ul>
            <!-- 顶部右侧菜单 -->
            <ul class="layui-nav top_menu">
      <!--          <li class="layui-nav-item lockcms" pc>
                    <a href="javascript:;"><i class="seraph icon-lock"></i> <cite>锁屏</cite></a>
                </li>-->
                <li class="layui-nav-item" id="userInfo">
                    <a href="javascript:;"><cite class="adminName"><shiro:principal property="userName" /></cite></a>
                    <dl class="layui-nav-child">
                        <dd><a href="javascript:;" data-url="/system/user/profile"><cite>个人资料</cite></a></dd>
                        <dd><a href="javascript:;" data-url="/user/change.html"><cite>修改密码</cite></a></dd>
                        <dd><a href="javascript:;" class="showNotice"><cite>系统公告</cite><span class="layui-badge-dot"></span></a></dd>
                        <dd pc><a href="javascript:;" class="functionSetting"><cite>功能设定</cite><span class="layui-badge-dot"></span></a></dd>
                        <dd pc><a href="javascript:;" class="changeSkin"><cite>更换皮肤</cite></a></dd>
                        <dd><a href="/logout" class="signOut"><cite>退出</cite></a></dd>
                    </dl>
                </li>

                <li class="layui-nav-item" id="languages">
                    <a href="javascript:;"><i class="languagesSet"></i> <cite>语言设置</cite></a>
                    <dl class="layui-nav-child" id="language">
                        <dd><a href="?lang=zh_CN" data-lang="zh-CN"><cite>简体中文</cite></a></dd>
                        <dd><a href="?lang=ru_RU" data-lang="ru"><cite>俄文</cite></a></dd>
                        <dd><a href="?lang=kk_KZ" data-lang="kk"><cite>哈文</cite></a></dd>
                    </dl>
                </li>
            </ul>
        </div>
    </div>
    <!-- 左侧导航 -->
    <div class="layui-side layui-bg-black">
        <div class="user-photo">
            <a class="img" title="我的头像" ><img  th:src="@{/images/face.jpg}" class="userAvatar"></a>
            <p>你好！<span class="userName"><shiro:principal property="userName" /></span>，欢迎登录！</p>
        </div>
        <div class="navBar layui-side-scroll" id="navBar">
            <ul class="layui-nav layui-nav-tree">
                <li class="layui-nav-item layui-this">
                    <a href="javascript:;" data-url="/main.html"><cite>后台首页</cite></a>
                </li>
            </ul>
        </div>
    </div>
    <!-- 右侧内容 -->
    <div class="layui-body layui-form">
        <div class="layui-tab mag0" lay-filter="bodyTab" lay-allowClose="true" id="top_tabs_box">
            <ul class="layui-tab-title top_tab" id="top_tabs">
                <li class="layui-this" lay-id=""><cite>后台首页</cite></li>
            </ul>
            <ul class="layui-nav closeBox">
                <li class="layui-nav-item">
                    <a href="javascript:;"><i class="layui-icon caozuo">&#xe643;</i> 页面操作</a>
                    <dl class="layui-nav-child">
                        <dd><a href="javascript:;" class="refresh refreshThis"><i class="layui-icon">&#x1002;</i> 刷新当前</a></dd>
                        <dd><a href="javascript:;" class="closePageOther"><i class="seraph icon-prohibit"></i> 关闭其他</a></dd>
                        <dd><a href="javascript:;" class="closePageAll"><i class="seraph icon-guanbi"></i> 关闭全部</a></dd>
                    </dl>
                </li>
            </ul>
            <div class="layui-tab-content clildFrame">
                <div class="layui-tab-item layui-show">
                    <iframe th:src="@{/system/main}"></iframe>
                </div>
            </div>
        </div>
    </div>
    <!-- 底部 -->
    <div class="layui-footer footer">
        <p><span>copyright @2018 yue</span></p>
    </div>
</div>

<!-- 移动导航 -->
<div class="site-tree-mobile"><i class="layui-icon">&#xe602;</i></div>
<div class="site-mobile-shade"></div>
<div th:include="include::footer"></div>
<script type="text/javascript" th:src="@{/js/index.js}"></script>
<script type="text/javascript" th:src="@{/js/cache.js}" ></script>
</body>
</html>